package com.open.capacity.notice.dto;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.open.capacity.common.validator.UpdateGroup;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 接收器组-接收人
 * @since 2024-05-07
 */
@Data
@SuppressWarnings("all")
@EqualsAndHashCode(callSuper = false)
public class MessageRececiverDetailDto implements Serializable {

    @NotBlank(groups = UpdateGroup.class,message = "id不能为空")
    private String id;

    @NotBlank(groups = UpdateGroup.class,message = "receciverGroupId不能为空")
    private String receciverGroupId;

    private String ownerId ;

    @NotBlank(message = "接收人不能为空")
    private String receciver;


}
